import Vue from "vue";
import { sync } from 'vuex-router-sync';
import store from './store/index';
import router from './router/index';
import App from "./app.vue";


//import iView from "iview";
//import 'iview/dist/styles/iview.css';    // 使用 CSS
//Vue.use(iView);

//import MuseUI from 'muse-ui'
//import 'muse-ui/dist/muse-ui.css'
//Vue.use(MuseUI)


//Vue.prototype.storage=Vue.storage=localStorage || sessionStorage ;

//Vue.prototype.storage=Vue.storage={};
import  './module/ajax';
import common from  './components/common';
common(Vue);


//$('body').append('ss')

//Vue.prototype.session=Vue.session=sessionStorage;



import  "./css/css.css";
import  "./css/lcss.lcss";

//继承vue 
const VueApp = Vue.extend(App);
const app=new VueApp({
	router,store
})

export { app, router, store,Vue }

// new Vue({
//   router,
//   el: '#vue',
//   store,
//   render: (h) => h(App)
// })